Add 'sqlite-execute-batch' command
authorJavier Olaechea <pirata@gmail.com>
Mon, 1 Apr 2024 04:07:10 +0000 (23:07 -0500)
committerEli Zaretskii <eliz@gnu.org>
Thu, 6 Jun 2024 09:51:46 +0000 (12:51 +0300)
commit23ef989935d38fe5c2c105933ae5f4d692656c72
treed2551d14e9899b8ae1556cdaa0ac3590be98b617
parent7fbafb9d9527f3888469dead8309fd748d2fb9e0
Add 'sqlite-execute-batch' command

This command is similar to 'sqlite-execute' except that it
executes multiple statements in exchange for not accepting
any arguments.  (Bug#70145)
* src/sqlite.c (Fsqlite_execute_batch): New function.

* test/src/sqlite-tests.el (sqlite-multiple-statements): Add
smoke test for 'sqlite-execute-batch'.

* etc/NEWS: Mention new command 'sqlite-execute-batch'.
* doc/lispref/text.texi (Database): Document the new command.
doc/lispref/text.texi
etc/NEWS
src/sqlite.c
test/src/sqlite-tests.el